﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataSync.Common;
using log4net;

namespace DataSync.Proc
{
    abstract class TaskBase : ITask
    {
        private static ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        protected TaskConf CurTaskConfig;
        public TaskBase(TaskConf conf)
        {
            this.CurTaskConfig = conf;
        }
        public abstract void Init();

        public abstract void Run();
    }
}
